//index.js
const app = getApp();
let that = null;
import store from "../../factory"
import * as Request from '../../request';
import * as mouble from '../../until';

Page({
  data: {
    info: {}
  },
  onLoad: function () {
    that = this
  },
  onShow() {
    this.getDetail()
  },
  getDetail() {
    Request.getOrderDetail({ id: store.get("orderId") }).then(res => {
      if (res.code == 200) {
        that.setData({
          info: res.data
        })
      }
    })
  }

})
